package com.example.dao;

import com.example.entity.Books;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface BooksMapper {
    List<Books> listBookss();
    List<Books> listBookssByParams(Map<String, Object> params);
    void insertBooks(Books Books);
    void updateBooks(Books Books);
    void deleteBooksById(Integer id);
    Books getBooksById(Integer id);
    void deleteBookss(List<String> ids);
}